﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using YULI.Common;

namespace YULI.Web.UI
{
    public partial class BasePage : System.Web.UI.Page
    {
        //protected internal Model.sys_config sysConfig = new BLL.sys_config().loadConfig();
        ///// <summary>
        ///// 写入管理日志
        ///// </summary>
        ///// <param name="action_type"></param>
        ///// <param name="remark"></param>
        ///// <returns></returns>
        //protected bool AddAdminLog(string action_type, string remark)
        //{
        //    if (sysConfig.logstatus > 0)
        //    {
        //        Model.manager model = new Web.UI.ManagePage().GetAdminInfo();
        //        int newId = new BLL.manager_log().Add(model.id, model.user_name, action_type, remark);
        //        if (newId > 0)
        //        {
        //            return true;
        //        }
        //    }
        //    return false;
        //}
    }
}
